package Thread;

class MyThread extends Thread{
    @Override
    public void run() {
        System.out.println("hello thread!!!");
    }
}

public class Demo1 {
    public static void main(String[] args) {
        Object o = new Object();
        Thread myThread1 = new MyThread();
        myThread1.start();
    }
}
